// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__6471BF92_35C4_4821_9122_962D7D390031__INCLUDED_)
#define AFX_STDAFX_H__6471BF92_35C4_4821_9122_962D7D390031__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions

#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h>         // MFC OLE classes
#include <afxodlgs.h>       // MFC OLE dialog classes
#include <afxdisp.h>        // MFC Automation classes
#endif // _AFX_NO_OLE_SUPPORT


#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h>			// MFC ODBC database classes
#endif // _AFX_NO_DB_SUPPORT

#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h>			// MFC DAO database classes
#endif // _AFX_NO_DAO_SUPPORT

#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#define _ATL_APARTMENT_THREADED

#include "comdef.h"

#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>

#include <ObjModel\addauto.h>
#include "ObjModel\addguid.h"
#include <ObjModel\appdefs.h>
#include <ObjModel\appauto.h>
#include <ObjModel\blddefs.h>
#include <ObjModel\bldauto.h>
#include <ObjModel\textdefs.h>
#include <ObjModel\textauto.h>
#include <ObjModel\dbgdefs.h>
#include <ObjModel\dbgauto.h>

#ifndef MS_DEV6_ADDIN
#define MS_DEV6_ADDIN
#endif	// #ifndef MS_DEV6_ADDIN

#ifndef SECTION

#define SECTION	_T("Software\\ZZzz.oOO\\Mouse Gesture Developer Studio Add-In\\")

#endif	// #ifndef SECTION

#include "tstd.h"

#include "registry_value.h"
typedef registry_int<BOOL> regbool;
typedef registry_int<DWORD> regdword;
typedef registry_string<std::tstring> regtstring;

#define __STR2__(x) #x
#define __STR1__(x) __STR2__(x)
#define __LOC__ __FILE__ "("__STR1__(__LINE__)") : warning: "
#define __LOC2__ __FILE__ "("__STR1__(__LINE__)") : "

#define COMPILE_WARN(s) message(__LOC__ s)
#define COMPILE_ERROR(d,s) message(__LOC2__ "error " d ": " s)

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__6471BF92_35C4_4821_9122_962D7D390031__INCLUDED_)
